﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PersonSet.aspx.cs" Inherits="LBSoft.HplusAdmin.Business.Person.PersonSet" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>人员信息</title>
    <uc1:HeadInclude ID="HeadInclude1" runat="server" HasBootstrap="true" HasLayui="true" HasMainForm="true" HasIconfont="true" />
    <uc3:LoadSelfJS ID="LoadSelfJS1" runat="server" />
</head>
<body>
    <div class="main">
        <div class="form-header">
            <h1>人员信息</h1>
            <i class="header-line header-line1"></i><i class="header-line header-line2"></i>
            <i class="header-line header-line3"></i><i class="header-line header-line4"></i>
        </div>
        <div class="form-body">
            <form class="layui-form" autocomplete="off" runat="server">
                <table class="form-table" cellpadding="0" cellspacing="0" style="table-layout: fixed; width: 100%;">
                    <colgroup>
                        <col width="15%" />
                        <col width="30%" />
                        <col width="12%" />
                        <col width="28%" />
                        <col width="15%" />
                    </colgroup>
                    <tbody>
                        <tr>
                            <td class="td-right">
                                <label>姓名：</label>
                            </td>
                            <td class="requiredStyleFull">
                                <input type="text" class="layui-input" id="tbPersonName" name="PersonName" lay-verify="required" style="width: 190px; display: inline-block;" />
                                <input type="button" class="layui-btn layui-btn-normal" value="读取身份证" onclick="initIDCard()" />
                            </td>
                            <td class="td-right">
                                <label>身份证号：</label>
                            </td>
                            <td class="requiredStyleFull">
                                <input type="text" class="layui-input" id="tbIDCard" name="IDCard" lay-verify="required" />
                            </td>
                            <td rowspan="3" style="text-align: center; width: 130px;">
                                <img id="jpgfile" class="mleft10" border="0" name="photo" src="/resources/images/nopic.png" alt="" style="width: 120px; height: 126px;" />
                            </td>
                        </tr>
                        <tr>
                            <td class="td-right">
                                <label>性别：</label>
                            </td>
                            <td>
                                <input type="radio" name="PersonSex" id="rdPersonSex1" value="男" title="男" checked="checked" />
                                <input type="radio" name="PersonSex" id="rdPersonSex2" value="女" title="女" />
                            </td>
                            <td class="td-right">
                                <label>民族：</label>
                            </td>
                            <td class="requiredStyleFull">
                                <input type="text" class="layui-input" id="tbPersonNation" name="PersonNation" lay-verify="required" />
                            </td>
                        </tr>
                        <tr>
                            <td class="td-right">
                                <label>住址：</label>
                            </td>
                            <td class="requiredStyleFull">
                                <input type="text" class="layui-input" id="tbAddress" name="Address" lay-verify="required" />
                            </td>
                            <td class="td-right">
                                <label>签发机关：</label>
                            </td>
                            <td class="requiredStyleFull">
                                <input type="text" class="layui-input" id="tbOrganize" name="Organize" lay-verify="required" />
                            </td>
                        </tr>
                        <tr>
                            <td class="td-right">
                                <label>有效期限：</label>
                            </td>
                            <td class="requiredStyleFull">
                                <input type="text" class="layui-input" id="tbBeginDate" name="BeginDate" lay-verify="required" style="width: 135px; display: inline-block;" />
                                至
                                <input type="text" class="layui-input" id="tbEndDate" name="EndDate" lay-verify="required" style="width: 135px; display: inline-block;" />
                            </td>
                            <td class="td-right">
                                <label>联系电话：</label>
                            </td>
                            <td class="requiredStyleFull">
                                <input type="text" class="layui-input" id="tbLinkPhone" name="LinkPhone" lay-verify="required" />
                            </td>
                            <td style="text-align: center;">
                                <button type="button" class="layui-btn mleft10" id="tbHideUploadImageUrl" style="display: none;">隐藏的上传按钮</button>
                                <button type="button" class="layui-btn mleft10" id="tbUploadImageUrl" onclick="uploadImageUrl()">选择照片</button>
                            </td>
                        </tr>
                        <%--<tr>
                            <td class="td-right">
                                <label>采集照片：</label>
                            </td>
                            <td colspan="3"></td>
                        </tr>--%>
                        <tr>
                            <td colspan="4">
                                <div class="btn-item">
                                    <button class="layui-btn layui-btn-primary " lay-submit lay-filter="save">
                                        <i class="iconfont icon-baocun" style="font-size: 20px;"></i>保 存
                                    </button>
                                    <button class="layui-btn layui-btn-primary " id="btnCancel" type="button" onclick="closePage()">
                                        <i class="iconfont icon-fanhui" style="font-size: 20px;"></i>返 回
                                    </button>
                                </div>
                            </td>
                        </tr>
                    </tbody>
                </table>
                <div style="display: none;">
                    <input id="tbGUID" name="GUID" type="text" />
                    <input type="text" id="tbImageUrl" name="ImageUrl" />
                </div>
            </form>
        </div>
    </div>
</body>
</html>
